package com.hst.web.base.ui;

import com.hst.core.meta.MetaData;
import com.hst.core.meta.annotation.EField;
import com.hst.core.meta.annotation.EInfo;
import com.hst.core.meta.annotation.FieldQuery;
import com.hst.web.base.entity.TVehicleSub;

@EInfo(name = "vehicle-sub", title = "车辆附属信息", entity = TVehicleSub.class, fk = "vehicleCode = vehicleCode")
public class VehicleSub extends MetaData {

	@EField(name = "vehicleCode", title = "车辆编号", list = false, form = 0, query = FieldQuery.EQ)
	private String vehicleCode;

	@EField(name = "attrName", title = "属性名", editor = "select.vehicleAttr", viewer = "dict.vehicleAttr")
	private String attrName;

	@EField(name = "attrValue", title = "属性值")
	private String attrValue;

	public String getVehicleCode() {
		return vehicleCode;
	}

	public void setVehicleCode(String vehicleCode) {
		this.vehicleCode = vehicleCode;
	}

	public String getAttrName() {
		return attrName;
	}

	public void setAttrName(String attrName) {
		this.attrName = attrName;
	}

	public String getAttrValue() {
		return attrValue;
	}

	public void setAttrValue(String attrValue) {
		this.attrValue = attrValue;
	}

}
